package cn.imokay.controller;

import cn.imokay.entities.Pet;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class   ResponseTestController {
    @ResponseBody
    @GetMapping("getPet")
    public Object getPet(){
        return new Pet("wqq","1","2019");
    }
}
